﻿using AccessibilityTools.DB;
using AttendanceSysytem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttendanceSysytem.Database.BusinessLogic
{
    public class WorkScheduling_Logic: BaseRepository<WorkScheduling>
    {
        public List<WorkScheduling> AllList()
        {
            return Query();
        }

        public int Add(WorkScheduling instance)
        {
            return Insert(instance);
        }

        public bool Update(WorkScheduling instance)
        {
            return base.UpdateSync(instance);
        }

        
    }
}
